<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../Public/css/main.css">

<title>管理员编辑</title>
<style type="text/css">

</style>
</head>

<div id="admin_top">
	<img src="../Public/images/tb.gif"><span class="title">编辑管理员</span>
  <span class="list"><a href="__URL__/adminlist">->返回列表</a></span>
</div>

<div id="admin_add">
	<table>
		<form name="addform" action="__URL__/update/id/{$admin_info.aid}" method="post">
		<tr>
			<input class="inp" type="hidden" name="id" value="{$admin_info.aid}">
		<td>用户名：&nbsp;</td>	<td><input class="inp" type="text" name="account" value="{$admin_info.account}"> &nbsp;<span style="color:red">*</span></td>
      <input class="inp" type="hidden" name="orgaccount" value="{$admin_info.account}">
		</tr>
				<tr>
		<td>昵称：&nbsp;</td>	<td><input class="inp"  type="text" name="nickname" value="{$admin_info.nickname}"> &nbsp;<span style="color:red">*</span></td>

		</tr>
				</tr>
				<tr>
		<td>密码：&nbsp;</td>	<td><input class="inp"  type="password" name="password"> &nbsp;<span style="color:red">*</span></td>

		</tr>
				</tr>
				<tr>
		<td>重复密码：&nbsp;</td>	<td><input class="inp"  type="password" name="rpassword"> &nbsp;<span style="color:red">*</span></td>

		</tr>
			<tr>
						
		<td >是否激活：&nbsp;</td>	<td valign=center style="text-align:left"><span class="radio">是</span><input  type="radio" name="status" value="1" <if condition="$admin_info.status eq 1"> checked</if>> <span class="radio" >否</span><input  type="radio" name="status" value="0" <if condition="$admin_info.status eq 0"> checked</if>> &nbsp;<span style="color:red">*</span></td>
  </tr>
		</tr>
		<td>所属角色：&nbsp;</td>	<td style="text-align:left">
			<select name="type_id" >
				<volist name="role_info" id='vo'>
					<!-- flag eq tag -->
				<option value="{$vo.id}" <eq name="vo.id"  value="$admin_info.rid" >selected</eq> >{$vo.name}</option>
	      </volist>
				</select>
			
			 &nbsp;<span style="color:red">*</span></td>

		</tr>
				<tr>
		<td>电子邮箱：&nbsp;</td>	<td><input class="inp"  type="text" name="email" value="{$admin_info.email}"> &nbsp;<span style="color:red">*</span></td>

		</tr>
			
			
		<tr><td >&nbsp;</td><td style="text-align:left"><input type="submit" name="sub" value="修改"><input type="reset" name="sub" value="重置"></td></tr>
		</form>
	</table>
	
	</div>
<body>
</body>
</html>
